<script type="text/javascript">
$(document).ready(function() {
$(".fancy").fancybox({
ajax : {
				    	type	: "GET",
}
});
});
</script>
<div class="post">
<h2 class="title">Dataset form</h2>
<div class="entry">
<form ction="/create/dataset"  method="POST" enctype="multipart/form-data" class="registration-form">
{%if status_none%}
<div class="divinfo">
First <a class="fancy" href="/ajax/page/dataset-info">read</a> about uploadable dataset formats.
</div>
{% endif %}
{%if status_created%}
<div class="divsuccess">
Dataset was successfully created.
</div>
{% endif %}
{%if status_failed%}
<div class="divfail">
Provided data is <a class="fancy" href="/ajax/page/dataset-info">incompatible</a>.
</div>
{% endif %}
<table>
{% for field in form %}
{% if field.errors %}
<tr>
	<td colspan="2">
       {% for error in field.errors %}
	<strong style="color:#df0000;">{{error}}</strong>
	{% endfor %}
	</td>
</tr>
{% endif %}
<tr>
	<td class="labeltag">{{ field.label_tag }} >> </td>
	<td>{{ field }}</td>
</tr>
{% endfor %}
<tr>
      <td colspan="2" align="right">
<input type="submit" value="Upload"> | <a href="/"> Cancel
      </td>
</tr>
</table>
</form>
</div>
</div>